/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package svgCanvas.Rectangle;

import java.awt.Point;

/**
 *
 * @author Martin
 */
public class EllipseCreator {
    public Ellipse CreateRectangleFromCoordinates(Rectangle ellipseBoundary)
    {
        return new Ellipse(ellipseBoundary.x + ellipseBoundary.width / 2,
                ellipseBoundary.y + ellipseBoundary.height / 2,
                ellipseBoundary.width / 2, 
                ellipseBoundary.height / 2);
    }
}
